<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('Earnest/index')}">订单管理</a></li>
    </ul>
    <div>
        <form class="well form-inline margin-top-20" action="{:url('Earnest/index')}" method="post">
            <label>姓名:
                <input type="text" class="form-control" name="" placeholder="请输入姓名"
                       value="{:input('request.annex_name')}">
            </label>
            <label>手机号:
                <input type="text" class="form-control" name="" placeholder="请输入手机号"
                       value="{:input('request.annex_name')}">
            </label>
            <input type="submit" class="btn btn-primary" value="搜索"/>
            <a class="btn btn-danger" href="{:url('Annex/index')}">清空</a>
        </form>
    </div>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th width="1%"><label><input type="checkbox" class="js-check-all" data-direction="x"
                                         data-checklist="js-check-x"></label></th>
            <th align="left" width="40">订单ID</th>
            <th align="left" width="20">客户名称</th>
            <th align="left" width="20">联系电话</th>
            <th align="left" width="40">墓位编号</th>
            <th align="left" width="40">具体位置</th>
            <th align="left" width="40">销售价格</th>
            <th align="left" width="40">选位时间</th>
            <th align="left" width="40">保留截止时间</th>
            <th align="left" width="40">导购员</th>
            <th width="15">{:lang('ACTIONS')}</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="results" item="vo">
            <tr>
                <td><h1>23r23r</h1></td>
                <td>124</td>
                <td>122</td>
                <td>4325</td>
                <td>选位时间</td>
                <td>选位时间</td>
                <td>选位时间</td>
                <td>选位时间</td>
                <td>导购员</td>
                <td>
                    <a href="{:url('Earnest/look',array('id'=>$vo['id']))}">查看</a>
                    |
                    <a href="{:url('Earnest/sure',array('id'=>$vo['id']))}">完款</a>
                    |
                    <a href="{:url('Earnest/abandon',array('id'=>$vo['id']))}">放弃</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination" style="margin-top: -10px">{$page}</div>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js?v={:time()}"></script>
</body>
</html>